package com.ytjj.qmyx.admin.mapper;

import com.ytjj.qmyx.admin.model.ImCustomerServiceTime;
import com.ytjj.qmyx.admin.model.ImCustomerServiceTimeExample;
import java.util.List;

import com.ytjj.qmyx.admin.model.dto.ImCustomerServiceTimeDto;
import com.ytjj.qmyx.admin.model.vo.ImCustomerServiceTimeVO;
import org.apache.ibatis.annotations.Param;

public interface ImCustomerServiceTimeMapper {
    long countByExample(ImCustomerServiceTimeExample example);

    int deleteByExample(ImCustomerServiceTimeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ImCustomerServiceTime record);

    int insertSelective(ImCustomerServiceTime record);

    List<ImCustomerServiceTime> selectByExample(ImCustomerServiceTimeExample example);

    ImCustomerServiceTime selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ImCustomerServiceTime record, @Param("example") ImCustomerServiceTimeExample example);

    int updateByExample(@Param("record") ImCustomerServiceTime record, @Param("example") ImCustomerServiceTimeExample example);

    int updateByPrimaryKeySelective(ImCustomerServiceTime record);

    int updateByPrimaryKey(ImCustomerServiceTime record);

    int updateServiceTime(@Param("request") ImCustomerServiceTimeVO request);

    List<ImCustomerServiceTimeDto> selectAll();
}